<?php require_once("../common/config.inc.php");?>
<?php	
$breadcrumbText=array('1' => 'Event News', '2' => 'MERDJ News','3' =>'Notification');
$newsType=null;
$newsArray=null;
	init();		
	
	function init(){
		$type=$_GET["type"];		
		if($type==null || $type==""){
			$type="1";
		}	
		$GLOBALS[newsType]=$type;
		loadNewsData();
	}
	
	function loadNewsData(){	
		//hard code before news system online
		$allNewsArray=array('1' => '', '2' => '','3' =>'');	
		//1-events	
		$newsArray_1=array(
			array('id'=>'10000010','type'=>'1','createDate'=>'2012-05-07','title'=>'Visit of Prof. Dr. Fernando Gonz&#x00E1;lez-Jim&#x00E9;nez'),
			array('id'=>'10000009','type'=>'1','createDate'=>'2012-02-20','title'=>'In Memoriam Professor Igor Petrovich Suzdalev'),
			array('id'=>'10000008','type'=>'1','createDate'=>'2012-02-20','title'=>'In Memoriam Professor Attila V&#x00E9;rtes'),
			array('id'=>'10000007','type'=>'1','createDate'=>'2011-12-21','title'=>'Visit of Dr. Jean-Marc Greneche'),
			array('id'=>'10000006','type'=>'1','createDate'=>'2011-11-10','title'=>'Visiting Professor Airat M. Khasanov from America'),					
			array('id'=>'10000005','type'=>'1','createDate'=>'2011-11-10','title'=>'Visiting Professor Alexandre Rykov from Russian'),			
			array('id'=>'10000001','type'=>'1','createDate'=>'2011-11-07','title'=>'In Memoriam Rudolf L. M&#246;&#223;bauer'),		
			array('id'=>'10000002','type'=>'1','createDate'=>'2011-10-21','title'=>'Participation of Profs. ZHANG Tao and WANG Junhu in ICAME2011'),
			array('id'=>'10000003','type'=>'1','createDate'=>'2011-05-04','title'=>'Dr. Paulo de Souza of CSIRO visit MEDC'),
			array('id'=>'10000004','type'=>'1','createDate'=>'2010-09-01','title'=>'M&#246;ssbauer Effect Data Center (MEDC) Settled in DICP'),
		);
		//2-MERDJ
		$newsArray_2=array(			
			array('id'=>'20000015','type'=>'2','createDate'=>'2012-04-24','title'=>'MERDJ 3503 ISSUE'),
			array('id'=>'20000014','type'=>'2','createDate'=>'2012-04-05','title'=>'MERDJ 3502 ISSUE'),
			array('id'=>'20000013','type'=>'2','createDate'=>'2012-02-20','title'=>'MERDJ 3501 ISSUE'),
			array('id'=>'20000012','type'=>'2','createDate'=>'2012-01-06','title'=>'MERDJ 3410 ISSUE'),
			array('id'=>'20000011','type'=>'2','createDate'=>'2011-12-21','title'=>'MERDJ 3409 ISSUE'),
			array('id'=>'20000010','type'=>'2','createDate'=>'2011-12-07','title'=>'MERDJ 3408 ISSUE'),
			array('id'=>'20000001','type'=>'2','createDate'=>'2011-10-21','title'=>'MERDJ 3407 ISSUE'),
			array('id'=>'20000003','type'=>'2','createDate'=>'2011-08-16','title'=>'MERDJ 3406 ISSUE'),	
			array('id'=>'20000004','type'=>'2','createDate'=>'2011-06-02','title'=>'MERDJ 3405 ISSUE'),	
			array('id'=>'20000005','type'=>'2','createDate'=>'2011-05-05','title'=>'MERDJ 3404 ISSUE'),	
			array('id'=>'20000006','type'=>'2','createDate'=>'2011-04-14','title'=>'MERDJ 3403 ISSUE'),	
			array('id'=>'20000007','type'=>'2','createDate'=>'2011-03-24','title'=>'MERDJ 3402 ISSUE'),	
			array('id'=>'20000008','type'=>'2','createDate'=>'2011-02-21','title'=>'MERDJ 3401 ISSUE'),	
			array('id'=>'20000009','type'=>'2','createDate'=>'2011-01-15','title'=>'MERDJ 3310 ISSUE'),			
			array('id'=>'20000002','type'=>'2','createDate'=>'2010-11-01','title'=>'MERDJ has been published by DICP'),	
		);
		//3-Notice
		$newsArray_3=array(
			array('id'=>'30000005','type'=>'3','createDate'=>'2012-01-05','title'=>'OSSM2012 Announcement'),
			array('id'=>'30000001','type'=>'3','createDate'=>'2011-10-27','title'=>'2012 Price List available'),		
			array('id'=>'30000002','type'=>'3','createDate'=>'2011-10-21','title'=>'Database search function available'),		
			array('id'=>'30000003','type'=>'3','createDate'=>'2011-04-25','title'=>'New way to download Journals'),
			array('id'=>'30000004','type'=>'3','createDate'=>'2010-07-01','title'=>'Relocation of the M&#246;ssbauer Effect Data Center'),
		);				
		$allNewsArray["1"]=	$newsArray_1;
		$allNewsArray["2"]=	$newsArray_2;
		$allNewsArray["3"]=	$newsArray_3;
		$GLOBALS[newsArray]=$allNewsArray[$GLOBALS[newsType]];
	}
	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>M&ouml;ssbauer Effect Data Center - <? echo $GLOBALS[breadcrumbText][$GLOBALS[newsType]] ?> </title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="stylesheet" type="text/css" href="../css/medc.css"/>
<link rel="stylesheet" type="text/css" href="../allstyles.css"/>
</head>  
<body>
<div id="header">
	<?php 
	require_once "../common/config.inc.php";
	require_once "../common/header.inc.php"
	?>
</div>	

<div id="mainarea">
<div class="leftMenu">
	<?php 
	require_once "inc/menuLeft.inc.php";
	?>
</div>
<div id="rightContent">
<p class="breadcrumb">Location: <a href="<?php echo WEB_ROOT ?>">Home</a>
&gt; <a href="<?php echo WEB_ROOT ?>news/NewsSummary.php?type=1">News</a>
&gt;<a href="<?php echo WEB_ROOT ?>news/NewsSummary.php?type=<? echo $GLOBALS[newsType] ?>"><? echo $GLOBALS[breadcrumbText][$GLOBALS[newsType]] ?></a></p>

<p class="Header"><? echo $GLOBALS[breadcrumbText][$GLOBALS[newsType]] ?></p>
  <table width="100%">
  <!--
    <tr>
      <td><a href="" class="newsLink">Participation of Profs. ZHANG Tao and WANG Junhu in ICAME2011</a></td>
      <td class="newsDate"><label>[2011-11-07]</label></td>
    </tr>
    -->    
    <?
	foreach ($GLOBALS[newsArray] as $newsObj){		
	?>
	<tr>
		<td><a href="NewsShow.php?id=<?php echo $newsObj["id"]; ?>" class="newsLink"><?php echo $newsObj["title"]; ?></a></td>
		<td class="newsDate"><label>[<?php echo $newsObj["createDate"]; ?>]</label></td>
	</tr>
	<?}?>
  </table>
 
</div><!--end of middlearea-->
</div><!--end of mainarea-->
<div class="myclear"></div>
<div id="footer" class="center"><?php include "../common/footer.inc.php"?></div>
</body>
</html>